bool AddUser(UserList head, long id, char name[10])
{
    if (head == NULL)
    {
        return false;
    }
    UserList user = (UserList)malloc(sizeof(User));
    UserList temp = (UserList)malloc(sizeof(User));
    user->id = id;
    strcpy(user->name, name);
    // essay->essayName[999] = essayName;
    if (head->nextUser == NULL)
    {

        head->nextUser = user;
        user->nextUser = NULL;
        //新加上
        user->nextProject = NULL;
        user->nextEssay = NULL;
        user->nextThesis = NULL;
    }
    else
    {
        temp = head->nextUser;
        while (temp->nextUser != NULL)
        {
            temp = temp->nextUser;
        }
        temp->nextUser = user;
        user->nextUser = NULL;

        //新加上
        user->nextProject = NULL;
        user->nextEssay = NULL;
        user->nextThesis = NULL;
    }
    head->length++;
    return true;
}
bool AddProject(UserList user, long projectId, char projectName[999], short projectStatus, short projectAwards)
{
    if (user == NULL)
    {
        return false;
    }
    ProjectList project = (ProjectList)malloc(sizeof(Project));
    ProjectList temp = (ProjectList)malloc(sizeof(Project));
    project->projectId = projectId;
    strcpy(project->projectName, projectName);

    project->projectStatus = projectStatus;
    project->projectAwards = projectAwards;
    if (user->nextProject == NULL)
    {
        user->nextProject = project;
        project->nextProject = NULL;
    }
    else
    {
        temp = user->nextProject;
        while (temp->nextProject != NULL)
        {
            temp = temp->nextProject;
        }
        temp->nextProject = project;
        project->nextProject = NULL;
    }
    return true;
}
bool AddThesis(UserList user, long thesisId, char thesisName[999], short thesisStatus, short thesisAwards, short thesisType)
{
    if (user == NULL)
    {
        return false;
    }
    ThesisList thesis = (ThesisList)malloc(sizeof(Thesis));
    ThesisList temp = (ThesisList)malloc(sizeof(Thesis));
    thesis->thesisId = thesisId;
    // thesis->thesisName[999] = thesisName[999];
    // thesis->thesisUserName[432] = thesisUserName[432];
    strcpy(thesis->thesisName, thesisName);
    thesis->thesisStatus = thesisStatus;
    thesis->thesisAwards = thesisAwards;
    thesis->thesisType = thesisType;
    if (user->nextThesis == NULL)
    {
        user->nextThesis = thesis;
        thesis->nextThesis = NULL;
    }
    else
    {
        temp = user->nextThesis;
        while (temp->nextThesis != NULL)
        {
            temp = temp->nextThesis;
        }
        temp->nextThesis = thesis;
        thesis->nextThesis = NULL;
    }
    return true;
}
bool AddEssay(UserList user, long essayId, char essayName[999], short essayType)